<?php

namespace app\common\widget;

use think\Db;

class Goods extends \think\Controller
{

    private $widgetPath;

    /**
     * 初始化
     */
    protected function _initialize()
    {
        parent::_initialize();
        $this->widgetPath = APP_PATH . 'common/widget/goods/';
    }

    //品牌选择
    public function brand($field, $value = '', $custom='')
    {
        $content = $this->fetch($this->widgetPath . 'brand.html');
        return $content;
    }
    //商品价格选择
    public function price($field, $value = '', $custom='')
    {
        $content = $this->fetch($this->widgetPath . 'price.html');
        return $content;
    }

}